﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="add.aspx.cs" Inherits="add" %>
<%@ Register TagPrefix="uc1" TagName="HeadControl" Src="HeadControl.ascx" %>
<%@ Register TagPrefix="uc1" TagName="FootControl" Src="FootControl.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
	<head>
	<title>许愿墙 - 贴上你的爱</title>
<meta name="description"
	content="通过“许愿墙网站”或“手机短信”两种途径把您的“爱”贴到“许愿墙”上、展示在上，让亿万网友和您一起分享您“爱的宣言”、“心的祝福”" />
<meta name="keywords" content=",爱墙,许愿墙,爱的宣言" />
		<style type ="text/css">
@import url(inc/style.css);
@import url(inc/c.css);
@import url(inc/step1.css);
</style>
<script type ="text/javascript">
	function searchMsg()
	{
		var noStr = document.getElementById("scripNo").value;
		var no = parseInt(noStr);
		if(isNaN(no)  || toInt(noStr)== -1){
			alert("纸条编号必须为数字");
			return false ;
		}else if(no < 1){
			alert("纸条编号必须为正整数");
			return false ;
		}else{
			window.location.href = "Default.aspx?no="+no;
		}
	}
	function toInt(str){
		var ret=0;
		var mid_num;
		for(var i=0;i<str.length;i++){
			mid_num=str.charAt(i);
			if(mid_num<'0' || mid_num>'9')
			{
				return -1;
			}
			ret=ret*10+(mid_num-'0');
		}
		return ret;
	}
	function setItem(src)
	{
			
		//setShowItem(src);
document.getElementById("IconImg").src = src;
		}
	
</script>
		
		<script type ="text/javascript" src="inc/flash.js"></script>
	</head>
	<body>
		<form id="frmAdd" method="post" runat="server">
			<uc1:HeadControl id="HeadControl1" runat="server"></uc1:HeadControl>
			<!---->
			<div id="ContOuter">
				<div id="ContInner">
					<div id="Cont">
						<div id="DIYOuter"><a name="Pay"></a>
							<div id="DIY">
								<p id="Guid"><a href="Default.aspx">许愿墙首页</a> >> 贴字条</p>
								<p id="Regards">您好，游上岸的鱼，<a href="#">点此退出</a>。</p>
								<div id="Step">
									<div id="Peview">
										<h5>－字条预览－</h5>
										<div class="PeviewMessage">
											<div id="Message" class="Message"><div id="styleDiv" class="Style2">
													<div class="Num">字条编号： <img src="images/icon_close.gif" alt="关闭" /></div>
													<p id="Detail" class="Detail"><img src="images/icon_default.gif" name="IconImg" width="50" height="50" class="Heart"
															id="IconImg" alt ="" /><span class="Head" id="Head"></span><br />
														<span id="AreaText"></span>
													</p>
													<p class="Sign" id="Sign"></p>
													<p class="Date"><script type ="text/javascript">var ThisTime = new Date();document.write(ThisTime.getFullYear()+"-"+(ThisTime.getMonth()+1)+"-"+ThisTime.getDate()+" "+ThisTime.getHours()+":"+ThisTime.getMinutes()+":"+ThisTime.getSeconds()); </script></p>
												</div>
											</div>
										</div>
										<!-- <div id="editoperate">
					<p id="editoperate3">
						<a href="#" id="clear" class="sep">去除装饰</a>
						<a href="cart.jsp" id="checkcart" class="sep" target="step">查看购物车</a>
						<a href="http://pay.qq.com" target="_blank" id="topay">查看帐户余额</a>
					</p>
					<p><a href="http://pay.qq.com" id="save">保存并发送字条</a></p>
				</div>
				<div id="edithistory">
					<div id="exit">已有的装饰
						<div id="editlist"><div id="exitinner"><img src="images/heart/icon_1.gif" /></div></div>
						<div id="editscroll"><img src="images/item/scroll_arrow_right.gif" align="right" /><img src="images/item/scroll_arrow_left.gif" align="left" /></div>
					</div>
					<div id="changehistory">试用过的装饰
						<div id="changelist"><div id="changinner"><img src="images/heart/icon_4.gif" /><img src="images/heart/icon_2.gif" /><img src="images/heart/icon_8.gif" /><img src="images/heart/icon_5.gif" /></div></div>
						<div id="changescroll"><img src="images/item/scroll_arrow_right.gif" align="right" /><img src="images/item/scroll_arrow_left.gif" align="left" /></div>
					</div>
				</div> -->
									</div>
									<div id="step">
										<h3 id="StepTit" class="t_font12"><span class="t_bold">贴字条的步骤</span>：<span class="t_bold t_green">第1步：编辑字条</span>
											>> 第2步：提交成功</h3>
										<iframe name="step" src="step_iframe.aspx" height="638" width="100%" scrolling="no" frameborder="0"
											marginheight="0" marginwidth="0"></iframe>
									</div>
								</div>
							</div>
						</div>
						<!---->
						<!---->
					</div>
				</div>
			</div>
			<!---->
						<uc1:FootControl id="FootControl1" runat="server"></uc1:FootControl>
		</form>
	</body>
</html>
